package com.xci.platform.auth.dao;

import com.xci.platform.auth.entity.ObjectDataMapEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ObjectDataMapDao {

    Integer insert(@Param("entity") ObjectDataMapEntity entity);

    Integer delete(@Param("objectName") String objectName, @Param("objectId") String objectId);

    String queryDataSetting(@Param("objectName") String objectName, @Param("objectId") String objectId);

    List<String> queryDataSettingByUserId(@Param("userId") String userId);
}
